package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 分入结算主表-任务
 * </p>
 *
 * @author Generator
 * @since 2024-12-25
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_claim_settlement_task")
@ApiModel(value = "CgnciClaimSettlementTaskDO对象", description = "分入结算主表-任务")
public class CgnciClaimSettlementTaskDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("结算ID")
    @TableId(value = "settlement_id", type = IdType.AUTO)
    private Long settlementId;

    @ApiModelProperty("任务号")
    private String taskNo;

    @ApiModelProperty("结算任务业务号")
    private String taskBusinessNo;

    @ApiModelProperty("结算号")
    private String settlementNo;

    @ApiModelProperty("案件号")
    private String caseNo;

    @ApiModelProperty("保单号")
    private String policyNo;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("结算类型(PREPAYMENT-预付结算 FINAL-结案结算)")
    private String settlementType;

    @ApiModelProperty("汇率约定方式(BY_VALUE-按数值 BY_DATE-按日期)")
    private String rateType;

    @ApiModelProperty("汇率日期")
    private Date rateDate;

    @ApiModelProperty("汇率")
    private BigDecimal rate;

    @ApiModelProperty("任务状态")
    private String taskStatus;

    @ApiModelProperty("最新审核意见")
    private String latestAuditOpinion;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("扩展信息")
    private String extra;

    @ApiModelProperty("公估费")
    private BigDecimal estimationAmount;

    @ApiModelProperty("摊赔金额")
    private BigDecimal compensationAmount;

    @ApiModelProperty("总计金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updater;


}
